package Email.Dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "邮件类")
public class EmailDto {
    @Schema(description = "邮件id")
//    @JsonComponent
    private Integer id;

    @Schema(description = "邮件主题")
    private String subject;

    @Schema(description = "邮件发送者")
    private Integer companyId;

    @Schema(description = "邮件接收者")
    private Integer userId;

    @Schema(description = "邮件内容")
    private String email;

    @Schema(description = "邮件状态 0 未读 1 已读" )
    private Integer status;
}
